import request from '@/utils/request'

// 查询标注员工作量raw统计列表
export function listRaw(query) {
  return request({
    url: '/mark/raw/list',
    method: 'get',
    params: query,
  })
}

// 查询标注员工作量raw统计详细
export function getRaw(markerWorkloadId) {
  return request({
    url: '/mark/raw/' + markerWorkloadId,
    method: 'get',
  })
}

// 新增标注员工作量raw统计
export function addRaw(data) {
  return request({
    url: '/mark/raw',
    method: 'post',
    data: data,
  })
}

// 修改标注员工作量raw统计
export function updateRaw(data) {
  return request({
    url: '/mark/raw',
    method: 'put',
    data: data,
  })
}

// 删除标注员工作量raw统计
export function delRaw(markerWorkloadId) {
  return request({
    url: '/mark/raw/' + markerWorkloadId,
    method: 'delete',
  })
}

// 导出标注员工作量raw统计
export function exportRaw(query) {
  return request({
    url: '/mark/raw/export',
    method: 'get',
    params: query,
  })
}
